package com.example.membership.dao;
import com.example.membership.model.Product;
import java.util.List;

public interface ProductDao {
    Product findById(int id);
    List<Product> findAll(String category, String sortBy, int page, int pageSize);
    int countAll(String category);
    void insert(Product product);
    void update(Product product);
    void delete(int id);
}